package cn.com.code.design;

/**
 * 模拟spring的HandlerInterceptor
 *
 * @author zhengpei
 * @date 2021/9/28
 */
public interface HandlerInterceptor {

  /**
   * 登录
   * @param request
   * @param response
   * @param handler
   * @return
   */
  boolean preHandle(String request,String response,Object handler);

}
